package com.xhtt.modules.msg.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xhtt.modules.msg.entity.MsgInfo;
import com.xhtt.modules.msg.model.AppVersion;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 消息表 Mapper 接口
 * </p>
 *
 * @author feipc
 * @since 2019-03-26
 */
public interface MsgInfoMapper extends BaseMapper<MsgInfo> {

    List<MsgInfo> msgList(Page<MsgInfo> page, @Param(value = "ps") Map<String,Object> params);

    List<MsgInfo> mapMaxDate(@Param(value = "userId")Integer userId);

    AppVersion appVersion();
}
